<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>加一</title>
	</head>
	<body>
		<script>
//			var arr = [1,2,3];
			var arr = [4,3,2,1];
			function show(array){
				var aa = array.join('');
                var bb = Number(aa);
				console.log('输入数组表示数值为'+bb);
				var cc = bb+1;
//				console.log(cc);
				var dd = cc.toString();
				var ee = dd.split('');
				console.log(ee);
			}
			show(arr);
		</script>
	</body>
</html>
